//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.indexes.goodscouponlist.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.ViewUpdate;
import com.nebutown.description.data.UnitForGeneration;
import com.nebutown.generation.PickableBean;
import com.nebutown.supporthome.AbstractBase;
import com.nebutown.supporthome.CmdCapsule;
import com.restaurant.application.indexes.goodscouponlist.AssistGoodsCouponListImpl;

public class AssistGoodsCouponListBase extends AbstractBase {
    private UnitForGeneration desc = new UnitForGeneration();

    public AssistGoodsCouponListBase() {
    }

    public AbstractAssistGoodsCouponList getImpl() {
        AbstractAssistGoodsCouponList inst = new AssistGoodsCouponListImpl();
        inst.setBase(this, this.getEscort());
        return inst;
    }

    public AssistGoodsCouponListOutFace getUnitFace() {
        return new AssistGoodsCouponListOutFace(this);
    }

    protected Object callDistr(String name, Object... param) {
        byte var4 = -1;
        switch(name.hashCode()) {
            case -1487350170:
                if (name.equals("getCouponListPadBO")) {
                    var4 = 0;
                }
                break;
            case -1021464297:
                if (name.equals("getViewLead")) {
                    var4 = 4;
                }
                break;
            case -885969078:
                if (name.equals("getFullView")) {
                    var4 = 3;
                }
                break;
            case 98245393:
                if (name.equals("getId")) {
                    var4 = 1;
                }
                break;
            case 1142206792:
                if (name.equals("getEffectiveInterface")) {
                    var4 = 2;
                }
        }

        switch(var4) {
            case 0:
                return this.getImpl().getCouponListPadBO((PadGoodsCouponSearch)param[0]);
            case 1:
                return this.getImpl().getId();
            case 2:
                return this.getImpl().getEffectiveInterface();
            case 3:
                this.setIsRefresher();
                return this.getImpl().getFullView();
            case 4:
                return this.getImpl().getViewLead((ViewSpec)param[0]);
            default:
                return null;
        }
    }

    protected boolean authDistr(String name) {
        name.getClass();
        return true;
    }

    public CmdCapsule getUICall(int cmd) {
        switch(cmd) {
            case 0:
                return AbstractAssistGoodsCouponList.CMD_DOSEARCH;
            default:
                return null;
        }
    }

    public ViewUpdate uiCall(int cmd, PickableBean param, int... seq) {
        switch(cmd) {
            case 0:
                return this.getImpl().doSearch((GoodsCouponSearch)param, seq);
            default:
                return null;
        }
    }
}
